package com.niit.dao;

import com.niit.model.StudentPaperQuestionAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface TestInDao {
    int insertStudentPaperQuestionAnswer(StudentPaperQuestionAnswer studentPaperQuestionAnswer);
    int updateStudentPaperQuestionAnswer(StudentPaperQuestionAnswer studentPaperQuestionAnswer);
    StudentPaperQuestionAnswer selectStudentPaperQuestionAnswer(@Param("id1")Long id1, @Param("id2")Long id2);
    List<StudentPaperQuestionAnswer> selectStudentPaperQuestionAnswerListForPaper(@Param("id2")Long id2);

}
